PEOpenPrintJob

Use PEOpenPrintJob to prepare to print a report and return a handle which identifies that particular print job. The handle returned must be used in all subsequent calls related to that print job which require that information. This function is used as a mandatory part of a Custom-Print Link to retrieve the print job handle which is then used when required as parameter printJob in each additional Custom-Print Link function call.

C Syntax
short PEOpenPrintJob (
        const char *reportFilePath );
Parameter

reportFilePath

Specifies the file name and path of the report that you want to open. You must enclose this parameter in quotes.

Returns
Remarks
VB Syntax

VB Sample Code for Previewing a Report

Declare Function PEOpenPrintJob Lib "crpe32.dll" (ByVal RptName As 
String) _
        As Integer
Delphi Syntax

Delphi code for opening and closing a PrintJob

function PEOpenPrintJob (
    reportFilePath: PChar
    ): Smallint stdcall;
dBASE for Windows Syntax

EXTERN CWORD PEOpenPrintJob (CSTRING) CRPE.DLL



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com